<?php
/** 
 * Created by RisingSun. 
 * User: MarkSpace 
 * Date: 20220306
 * Time: 11:05 
 */
return [
    //设置session
    'session_name' => 'PHPSID',
    'usesession'=>false, 
    //设置cookie
    'usecookie'=>true, 
    'cookiepath'=>'/', //Cookie的有效路径
    'domain' => '', //Cookie的有效域名
    'http_only' => false,  //只能通过HTTP协议访问，而不能通过JavaScript访问
    'secure' => false, //Cookie是否只能通过HTTPS连接传输
    //cookie及session过期时间
    'expiretime'=>24*60*60,
    //验证码过期时间
    'captchatime'=>60*3,
];
